package com.atguigu.gmall.cart.service;

import com.atguigu.gmall.model.cart.CartInfo;

import java.util.List;

/**
 * @author 李旭
 * @date 2021/10/18 15:27
 * @Description:
 */
public interface CartInfoService {
    void addToCart(Long skuId, Integer skuNum, String userId);

    CartInfo toCart(Long skuId);

    List<CartInfo> cartList(String userId, String userTempId);

    void checkCart(Long skuId, Integer isChecked);

    List<CartInfo> getCartInfoListByChecked(String userId);
}
